package com.atguigu.auth.service;

import com.atguigu.model.system.SysUser;
import com.atguigu.result.Result;
import com.atguigu.vo.system.SysUserQueryVo;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.Map;

/**
 * ClassName SysUserService
 * Package: com.atguigu.auth.service
 * ProjectName guigu-oa-parent
 * Description:
 *
 * @Author: 比特张
 * @Create: 2023/4/20 - 15:16
 * @Version: v1.0
 */
public interface SysUserService  extends IService<SysUser> {
    void updateStatus(Long id, Integer status);

    SysUser getByUsername(String username);

    Map<String, Object> getCurrentUser();

    IPage<SysUser> pageQueryUser(Long page, Long limit, SysUserQueryVo sysUserQueryVo);
}
